package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 customer_info
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
public class CustomerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customerId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carLicense;

    /** 车型 */
    @Excel(name = "车型")
    private String carModel;

    /** 购车日期 */
    @Excel(name = "购车日期")
    private String purchaseDate;

    /** 邮件信息 */
    @Excel(name = "邮件信息")
    private String emailInfo;

    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setCarLicense(String carLicense) 
    {
        this.carLicense = carLicense;
    }

    public String getCarLicense() 
    {
        return carLicense;
    }
    public void setCarModel(String carModel) 
    {
        this.carModel = carModel;
    }

    public String getCarModel() 
    {
        return carModel;
    }
    public void setPurchaseDate(String purchaseDate) 
    {
        this.purchaseDate = purchaseDate;
    }

    public String getPurchaseDate() 
    {
        return purchaseDate;
    }
    public void setEmailInfo(String emailInfo) 
    {
        this.emailInfo = emailInfo;
    }

    public String getEmailInfo() 
    {
        return emailInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("name", getName())
            .append("contactInfo", getContactInfo())
            .append("carLicense", getCarLicense())
            .append("carModel", getCarModel())
            .append("purchaseDate", getPurchaseDate())
            .append("emailInfo", getEmailInfo())
            .toString();
    }
}
